import React from 'react';
import Item, { IFormItemProps } from './Item'
import TimePicker, { TimePickerProps } from 'antd/lib/time-picker'

interface ITimePickerProps extends TimePickerProps, IFormItemProps {
}


export default class FormTimePicker extends React.Component<ITimePickerProps> {

	render() {
		return (
			<Item {...this.props}
				render={() => (
					<TimePicker />
				)} />


		)
	}
}